 
 <!-- 订单详情页   -->
<div class="detail-wrap">

 <div class="detailHead">
   <div class="stateBox">
       <a class="but">支付</a>
       <img class="lins" src="images/order_list/sline.png">
       <a class="but">配单</a>
       <img class="lins" src="images/order_list/sline.png">
       <a class="but">终止</a>
   </div>
 </div>

 <div class="clearfix"></div>

 <div class="order-content det-mainBox" style="margin: 0 auto;">
    <!-- 头部订单状态  start  --------->
	<div class="orderlist-Box" style="min-height:0px;">
	   <!-- 订单头信息 -->
	   <ul id="orderHeard_Content"></ul>
	   
	   <!-- 快递信息 start --------->
		<div class="det-express" style="display: none;">
		   <div class="headbox">
		      <span class="ddname">顺丰速运（国内）</span>
		      <span class="ddcode">2345555593938</span>
		   </div>
		   <ul class="ulsty">
		      <li class="listy active">
		              您已在深圳南山大道110号完成取件，感谢使用顺丰速运，期待再次为您服务。<br/>
                2018-04-11 19:38:36
		      </li>
		      <li class="listy">
		              您已在深圳南山大道110完成取件<br/>
                2018-04-04 23:02:56
		      </li>
		      <li class="listy">
		              您已在深圳南山大道110完成取件<br/>
                2018-04-04 23:02:56
		      </li>
		   </ul>
		   <a class="selall">查看全部</a>
		</div>
		<!-- 快递信息 end --------->
		
	</div>
    <!-- 头部订单状态  start  --------->
    
      <!-- 订单类型 -->
      <div id="orderType_Content" class="det-head-box"></div> 
    
      <!--  产品详情 --->
	  <div id="orderDetails_Content" class="order-body order-body1"></div>
	</div>
		
<!-- ------------------------------- 产品信息 start ---------------------------------- -->


 <div class="mbbox130"></div>

<!--合计费用支付-->
	<div class="order-foot" style="display: none;">
		<div id="orderPay_Content" class="order-money"></div>
		
		<script type="text/x-jsrender" id="orderPay_Template">
            <div class="col-md-6">
				<a href="#/order_add?id={{:id}}" class="btn btn-retrun">修改订单</a>
			</div>
			<div class="col-md-6">
				<div class="price-box">
					<p class="new-price">
                        <strong>￥{{:money}}</strong>
                        <span>{{:discountRate}}折</span>
                    </p>
                    {{if original != null}}
					   <p class="old-price">原价：<em>￥{{:original}}</em></p>
                    {{else}}
                       <p class="old-price">原价：<em>￥{{:money}}</em></p>
                    {{/if}}
				</div>	
				<a href="#/pay_preview?id={{:id}}" class="btn btn-pay">前往支付</a>
			</div>
        </script>
		
	</div>

<!-- ------------------ 弹框 start ------------------------- -->
</div>

<!-- 联系方式 start  ------->
<div class="det-contactBox">
   <img title="点击展开" alt="联系方式" src="images/order_list/contact.png">
</div>
<div class="det-contact-main"></div>
<script type="text/x-jsrender" id="contact_Template">
    <label class="titles">专属客户经理</label><br/>
   <label class="names">{{:waiterName}}</label>
   <div class="content">
      <span><img alt="tel" src="images/order_list/call.png">&nbsp; {{:waiterPhone}}</span><br/>
      <span><img alt="mail" src="images/order_list/mail.png">&nbsp; {{:waiterEmail}}</span><br/>
      <span><img alt="QQ" src="images/order_list/qq.png">&nbsp; {{:waiterQQ}}</span>
   </div>
</script>
<!-- 联系方式 start  ------->

<!-- 详情页头部 -->
<script type="text/x-jsrender" id="orderHeard_Template">
<li>
   {{if status == -1}}
     <div class="oderhead state2">
	   <img alt="已取消" src="images/order_list/order-yzz.png"><br/>
	   <label>已取消</label>	
     </div>					
   {{else status == 0}}
     <div class="oderhead state2">
	    <img alt="已中止" src="images/order_list/order-yzz.png"><br/>
	    <label>已中止</label>	
     </div>					
   {{else status == 1}}
     <div class="oderhead state1">
		<img alt="草稿" src="images/order_list/order-cg.png"><br/>
	    <label class="mg-l">草稿</label>	
     </div>					
   {{else status == 2}}
     <div class="oderhead state1">
		<img alt="待支付" src="images/order_list/ordre-dzf.png"><br/>
	    <label>待支付</label>
     </div>		
   {{else status == 3}}
     <div class="oderhead state2">
	    <img alt="已支付" src="images/order_list/order-yfb.png"><br/>
	    <label>已支付</label>	
     </div>		
   {{else status == 4}}
     <div class="oderhead state1">
	     <img alt="生产中" src="images/order_list/order-pdz.png"><br/>
	     <label>生产中</label>	
     </div>		
   {{else status == 5}}
     <div class="oderhead state1">
         <img alt="配送中" src="images/order_list/order-psz.png"><br/>
	     <label>配送中</label>
     </div>	
   {{else status == 6}}
     <div class="oderhead state1">
	     <img alt="已完成" src="images/order_list/order-ywc.png"><br/>
	     <label>已完成</label>	
     </div>							
   {{/if}} 
	<div class="conbox"  onclick="OrderList.toDetails({{:id}});">
	    <div class="topbox">
	        <span class="names">NO.{{:code}} {{:name}}</span>
	        <span class="tags">
               {{if packageType == 0}}
                  BGA
               {{else packageType == 1}}
                  LGA
               {{else packageType == 2}}
                  QFN
               {{else packageType == 3}}
                  QFP
               {{else packageType == 4}}
                               其他封装形式
               {{/if}} 
            </span>
	    </div>
	    <div class="btmbox">
	        <span class="prices">￥
               {{if money == null}}
                   0
               {{else}}
                   {{:money}}
               {{/if}} 
            </span>
	        <span class="nums">订单数量：<span class="nums-v">{{:amount}}</span></span>
	        <span class="times">预计交付时间：<span class="times-v">
               {{if deliverTime == null}}
                   0
               {{else}}
                   {{:deliverTime}}
               {{/if}}
            </span></span>
	     </div>
	 </div>
	 <div class="optbox">
        {{if status == -1}}
	
        {{else status == 0}} <!-- 已中止 -->
           <div class="fhtime mt-fh">
	           <span class="infos">项目退款</span><br/>
	           <span class="prices">￥
                  {{if pay == null}}
                      0
                  {{else}}
                     {{:pay}}
                  {{/if}}
              </span>
	       </div>
       {{else status == 1}} <!-- 草稿 -->
			 <a class="but" href="#/order_add?id={{:id}}">编辑</a>
	         <a class="opa mg-centre" onclick="OrderList.cancelDialog({{:id}},1);">删除订单</a>
       {{else status == 2}} <!-- 待支付 -->
         <a class="but" href="#/pay_preview?id={{:id}}">付款</a>
	     <a class="opa" href="javascript:void(0);" onclick="OrderList.cancelDialog({{:id}},1);">取消订单</a>
	     <a class="opa" href="#/order_add?id={{:id}}">修改订单</a>
       {{else status == 3}} <!-- 已支付 -->
            <div class="fhtime mt-fh2">
	             <span class="infos">客户经理：
	                  <span class="names">{{:waiterName}}</span>
	             </span><br/>
	             <span class="contact con-mt">
	                   <img alt="电话" src="images/order_list/call.png">：{{:waiterPhone}}
	             </span>
	             <span class="contact">
	                <img alt="QQ" src="images/order_list/qq.png">：{{:waiterQQ}}
	             </span>
	         </div>
       {{else status == 4}} <!-- 生产中 -->
            <div class="fhtime">
	             <span class="titles">预计发货时间</span><br/>
	             <span class="times">
                    {{if shipTime == null}}
                      0
                    {{else}}
                       {{:shipTime}}
                    {{/if}}
                 </span>
	        </div>
	        <a class="opa mg-centre" href="javascript:void(0);" onclick="OrderList.suspendDialog({{:id}},1);">中止订单</a>
       {{else status == 5}} <!-- 配送中 -->
            <div class="fhtime mt-fh">
	             <span class="titles">{{:deliveryCompany}}</span><br/>
	             <span class="times">{{:deliveryCode}}</span>
	        </div>
       {{else status == 6}} <!-- 已完成 -->
			 <a class="but" href="#/purse_invoice">开具发票</a>
	         <a class="opa mg-centre" href="#/order_add">再次下单</a>		
       {{/if}} 
	</div>
</li>
</script>

<script type="text/x-jsrender" id="orderType_Template">
    <h4>订单详情</h4>
    <div class="order-intro">
       {{if packageType == 0}}
           BGA
       {{else packageType == 1}}
           LGA
       {{else packageType == 2}}
           QFN
       {{else packageType == 3}}
           QFP
       {{else packageType == 4}}
                    其他形式
       {{/if}} 
             封装 · 
       {{if serviceType == 0}}
                   快速封装
       {{else serviceType == 1}}
                   快速设计及制造
       {{else serviceType == 2}}  
                   定制化服务
       {{/if}} 
     </div>
</script>

<!-- 详情内容 -->
<script type="text/x-jsrender" id="orderDetails_Template">

	<!--具体内容-->
	<!-- 长芯指定无需显示 -->
	{{if order.serviceType ==1 && order.baseSizeWay == 1 && ( order.packageType == 0 || order.packageType == 1 || order.packageType == 2 )}}	
	<label>产品大小和基板层数会在设计评估完成后，有专人和您沟通确认</label>
	<!-- 客户指定无需显示 -->
	{{else order.serviceType ==1 && order.baseSizeWay == 0 && ( order.packageType == 0 || order.packageType == 1 || order.packageType == 2 )}}
		<div class="order-item">
			<h4 class="tit">具体内容</h4>
			<div class="order-info-group">
          	<label class="col-md-3">产品尺寸</label>
          	<div class="col-md-9">
            	<div class="col-md-4">
              		<h5>长</h5>
              		<p>{{:order.baseSizeLength}} &nbsp;mm</p>
            	</div>
            	<div class="col-md-4">
              		<h5>宽</h5>
              		<p>{{:order.baseSizeWidth}}&nbsp;mm</p>
            	</div>
            	<div class="col-md-4">
              		<h5>高</h5>
              		<p>{{:order.baseSizeHeight}}&nbsp;mm</p>
            	</div>
          	</div>
        	</div>

		<div class="order-info-group">
          <label class="col-md-3">POD资料</label>
          <div class="col-md-9">
            {{for files}} {{if type == 1}}
            <div class="order-info-group">
              <img src="images/order_list/{{:~mFileType(name)}}.png">
              <a class="order-link" id="{{:id}}" href="#{{:path}}">{{:name}}</a>
            </div>
            {{/if}} {{/for}}
          </div>
        </div>
	  </div>
	{{else ( order.serviceType == 0 || order.serviceType == 1) && ( order.packageType == 3 || order.packageType == 4 )}}
		<div class="order-item">
		 <div class="order-info-group">
          	<label class="col-md-3">项目附件</label>
          	<div class="col-md-9">
            	{{for files}} {{if type == 0}}
            	<div class="order-info-group">
              	<img src="images/order_list/{{:~mFileType(name)}}.png">
              	<a class="order-link" id="{{:id}}" href="#{{:path}}">{{:name}}</a>
            	</div>
            	{{/if}} {{/for}}
          </div>
        </div>
		</div>
	{{else order.serviceType == 0 }}
		<div class="order-item">
			<h4 class="tit">具体内容</h4>
        <div class="order-info-group">
          <label class="col-md-3">产品尺寸</label>
          <div class="col-md-9">
            <div class="col-md-4">
              <h5>长</h5>
              <p>{{:order.baseSizeLength}}&nbsp;mm</p>
            </div>
            <div class="col-md-4">
              <h5>宽</h5>
              <p>{{:order.baseSizeWidth}}&nbsp;mm</p>
            </div>
            <div class="col-md-4">
              <h5>高</h5>
              <p>{{:order.baseSizeHeight}}&nbsp;mm</p>
            </div>
          </div>
        </div>
		<div class="order-info-group">
          <label class="col-md-3">POD资料</label>
          <div class="col-md-9">
            {{for files}} {{if type == 1}}
            <div class="order-info-group">
              <img src="images/order_list/{{:~mFileType(name)}}.png">
              <a class="order-link" id="{{:id}}" href="#{{:path}}">{{:name}}</a>
            </div>
            {{/if}} {{/for}}
          </div>
        </div>
		{{if order.packageType == 0 || order.packageType == 1 }}
		<div class="order-info-group">
          <label class="col-md-3">基板</label>
          <div class="col-md-9">
            <div class="col-md-4">
              <h5>板厚</h5>
              <p>{{:order.substrateThickness}}&nbsp;&nbsp;mm</p>
            </div>
            <div class="col-md-4">
              <h5>层数</h5>
              <p>{{:~substrateLayers(order.substrateLayers)}}</p>
            </div>
            <div class="col-md-4">
            </div>
          </div>
        </div>
		<div class="order-info-group">
          <label class="col-md-3">Geber资料</label>
          <div class="col-md-9">
            {{for files}} {{if type == 5}}
            <div class="order-info-group">
              <img src="images/order_list/{{:~mFileType(name)}}.png">
              <a class="order-link" id="{{:id}}" href="#{{:path}}">{{:name}}</a>
            </div>
            {{/if}} {{/for}}
          </div>
        </div>
		{{/if}}
		{{if order.packageType == 0 }}
		<div class="order-info-group">
          <label class="col-md-3">锡球规格</label>
          <div class="col-md-9">
            <div class="col-md-4">
              <h5>球大小</h5>
              <p>{{:~mBallSize(order.ballSize)}}&nbsp;mm</p>
            </div>
            <div class="col-md-4">
              <h5>球间距</h5>
              <p>{{:(order.ballSpacing)}}&nbsp;mm</p>
            </div>
            <div class="col-md-4">
			  <h5>锡球数量</h5>
              <p>{{:(order.ballAmount)}}&nbsp;个</p>
            </div>
          </div>
        </div>
		{{/if}}
		{{if order.packageType == 2 }}
			<div class="order-info-group">
          <label class="col-md-3">框架</label>
          <div class="col-md-9">
            <div class="col-md-3">
              <h5>框架厚度</h5>
              <p>{{:order.frameThickness}}&nbsp;mm</p>
            </div>
            <div class="col-md-3">
              <h5>Pad size - 长</h5>
              <p>{{:order.frameLength}}&nbsp;um min</p>
            </div>
            <div class="col-md-3">
              <h5>Pad size - 宽</h5>
              <p>{{:order.frameWidth}}&nbsp;um min</p>
            </div>
            <div class="col-md-3">
              <h5>垫位镀层方式</h5>
              <p>{{:~mFrameWay(order.frameWay)}}</p>
            </div>
          </div>
        </div>
        <div class="order-info-group">
          <label class="col-md-3">框架图纸</label>
          <div class="col-md-9">
            {{for files}} {{if type == 7}}
            <div class="order-info-group">
              <img src="images/order_list/{{:~mFileType(name)}}.png"><a class="order-link" id="{{:id}}" href="#{{:path}}">{{:name}}</a>
            </div>
            {{/if}} {{/for}}
          </div>
        </div>
		{{/if}}
		</div>
	{{/if}}

<!------- wafer信息 start ---------------------->
{{if wafers != null &&  wafers.length != 0}}
  <div class="order-item">
	<h4 class="tit">Wafer信息</h4>
	<div class="order-info-group" style="padding-bottom: 0;">
		<div class="col-md-3 wafer-tab">
			<ul>
              {{for #data.wafers}}
                {{if #getIndex() == 0}}
                  <li class="active">
                {{else}}
                  <li>
                {{/if}}
				Wafer{{:#index+1}}信息</li>
              {{/for}}
			</ul>
		</div>
		<div class="col-md-9 wafer-tab-info">
			<ul>
              {{for #data.wafers}}
                {{if #getIndex() == 0}}
                  <li>
                {{else}}
                  <li style="display: none;">
								{{/if}}
						{{if waferAmount || waferSize}}
						<div class="order-info-group">
								{{if waferAmount}}
							<div class="col-md-4">
								<h5>Wafer片数量</h5>
								<p>{{:waferAmount}}片</p>
							</div>
							{{/if}}
							{{if waferSize}}
							<div class="col-md-4">
								<h5>Wafer片尺寸</h5>
								<p>{{:~mWaferSize(waferSize)}}&nbsp;英寸</p>
							</div>
							{{/if}}
						</div>
						{{/if}}
						<div class="order-info-group">
						<div class="col-md-4">
							<h5>Die片数量</h5>
							<p>{{:dieAmount}}颗</p>
						</div>
						<div class="col-md-4">
							<h5>Die片尺寸</h5>
							<p>{{:dieLength}}&nbsp;mm&nbsp;*&nbsp;{{:dieWidth}}&nbsp;mm{{if dieHeight}}&nbsp;*&nbsp;{{:dieHeight}}&nbsp;mm{{/if}}</p>
						</div>
					</div>
					<div class="order-info-group">
						<div class="col-md-4">
							<h5>Bond Pad镀层材质</h5>
							<p>{{:~mPlatingMaterials(platingMaterials)}}</p>
						</div>
						<div class="col-md-4">
							<h5>Wafer来料包装方式</h5>
							<p>{{:~mWaferPackageWay(packageWay)}}</p>
						</div>
						{{if readRay}}
							<div class="col-md-4">
								<h5>NG Die读取方式</h5>
								<p>{{:~mReadRay(readRay)}}</p>
							</div>
						{{/if}}
					</div>
					{{if openLength || openWidth || pitch || waferMaterials}}
						<div class="order-info-group" style="padding-bottom: 0;border: none;">
							{{if openLength || openWidth}}
								<div class="col-md-4">
									<h5>Bond Pad Open</h5>
									<p>{{:openLength}} &nbsp; um &nbsp; * &nbsp; {{:openWidth}} &nbsp; um </p>
								</div>
							{{/if}}
							{{if pitch}}
							<div class="col-md-4">
								<h5>Bond Pad Pitch</h5>
								<p>{{:pitch}} um </p>
							</div>
							{{/if}}
							{{if waferMaterials}}
								<div class="col-md-4">
									<h5>晶圆材质</h5>
									<p>{{:~mWaferMaterials(waferMaterials)}}</p>
								</div>
							{{/if}}
						</div>
					{{/if}}
				 </li>	
        {{/for}}
			</ul>
		</div>
	</div>
	<div class="order-info-group">
		<label class="col-md-3">Wafer Datasheet资料</label>
		{{for wafers}}
			<div class="wafer-file col-md-9 {{: #getIndex() == 0?'':'hidden'}}">
				{{for files}} 
					{{if type == 2}}
						<div class="order-info-group">
								<img src="images/order_list/{{:~mFileType(name)}}.png"><a class="order-link" id="{{:id}}" href="{{:path}}">{{:name}}</a>
						</div>
					{{/if}} 
				{{/for}}
			</div>
		{{/for}}
		</div>
  </div>
{{/if}}
<!------- wafer信息 start ---------------------->

<!------- 生产信息 start ----------------------->
{{if produce != null}}
  <div class="order-item">
	<h4 class="tit">生产信息</h4>
	<div class="order-info-group" style="padding-bottom: 0;border: none;">
		<label class="col-md-3">{{:~mBondingWay(produce.bondingWay)}}</label>
		{{if produce.bondingWay == 2}}
			<div class="col-md-9">
				<div class="order-info-group" style="padding-top: 0;">
					{{if produce.bumpDiameter}}
						<div class="col-md-4">
							<h5>Bump Diameter</h5>
							<p>{{:produce.bumpDiameter}} um min</p>
						</div>
					{{/if}}
					{{if produce.bumpPitch}}
						<div class="col-md-4">
							<h5>Bump Pitch</h5>
							<p>{{:produce.bumpPitch}} um min</p>
						</div>
					{{/if}}
					{{if produce.bumpHeight}}
						<div class="col-md-4">
							<h5>Bump High</h5>
							<p>{{:produce.bumpHeight}} um min</p>
						</div>
					{{/if}}
				</div>
				<div class="order-info-group">
					<div class="col-md-4">
						<h5>单颗产品上FC Die数量</h5>
						<p>{{:produce.fcDieAmount}}</p>
					</div>
					<div class="col-md-4">
						<h5>单颗产品上WB Die数量</h5>
						<p>{{:produce.wbDieAmount}}</p>
					</div>
					<div class="col-md-4">
						<h5>Wire Bond线数或焊盘数量</h5>
						<p>{{:produce.wireBond}} 根</p>
					</div>
				</div>
			</div>
		{{else}}
			<div class="col-md-9">
				<div class="order-info-group" style="padding-top: 0;">
					{{if produce.bondingWay == 0}}
						<div class="col-md-4">
							<h5>Wire Bond线数或焊盘数量</h5>
							<p>{{:produce.wireBond}} 根</p>
						</div>
					{{/if}}
					{{if produce.bondingWay < 2}}
						<div class="col-md-4">
							<h5>单个产品上的Die数</h5>
							<p>{{:produce.fcDieAmount}} 片</p>
						</div>
					{{/if}}
				</div>
			</div>
		{{/if}}
	</div>
	<div class="order-info-group">
			<label class="col-md-3">&nbsp;</label>
		<div class="col-md-9">
			<div class="col-md-4">
				<h5>塑封方式</h5>
				<p>{{:~mPlasticWay(produce.plasticWay)}}</p>
			</div>
		</div>
	</div>
	{{if order.serviceType == 0}}
		<div class="order-info-group">
			<label class="col-md-3">Bonding图</label>
			<div class="col-md-9">
				{{for files}}
					{{if type == 6}}
						<div class="order-info-group">
								<img src="images/order_list/{{:~mFileType(name)}}.png"><a class="order-link" id="{{:id}}" href="#{{:path}}">{{:name}}</a>
						</div>
					{{/if}} 
				{{/for}}
			</div>
		</div>
	{{/if}}
	{{if produce.smt == 1}}
		<div class="order-info-group" style="padding-bottom: 0;border: none;">
			<label class="col-md-3">SMT贴片电子料单颗产品上电子料数量<p class="explain">电子料需您提供</p></label>
			<div class="col-md-9">
				{{if produce.amount01005 || produce.amount0201 || produce.amount0402 || produce.amount0603}}
					<div class="order-info-group" style="padding-top: 0;">
						{{if produce.amount01005}}
							<div class="col-md-3">
								<h5>01005 </h5>
								<p>{{:produce.amount01005}}</p>
							</div>
						{{/if}}
						{{if produce.amount0201}}
							<div class="col-md-3">
								<h5>0201 </h5>
								<p>{{:produce.amount0201}}</p>
							</div>
						{{/if}}
						{{if produce.amount0402}}
							<div class="col-md-3">
								<h5>0402 </h5>
								<p>{{:produce.amount0402}}</p>
							</div>
						{{/if}}
						{{if produce.amount0603}}
							<div class="col-md-3">
								<h5>0603 </h5>
								<p>{{:produce.amount0603}}</p>
							</div>
						{{/if}}
					</div>
				{{/if}}
				{{if produce.amountBAG || produce.amountQFN || produce.amountQFP || produce.amountCrystal}}
					<div class="order-info-group">
						{{if produce.amountBAG}}
							<div class="col-md-3">
								<h5>BGA </h5>
								<p>{{:produce.amountBAG}}</p>
							</div>
						{{/if}}
						{{if produce.amountQFN}}
							<div class="col-md-3">
								<h5>QFN </h5>
								<p>{{:produce.amountQFN}}</p>
							</div>
						{{/if}}
						{{if produce.amountQFP}}
							<div class="col-md-3">
								<h5>QFP </h5>
								<p>{{:produce.amountQFP}}</p>
							</div>
						{{/if}}
						{{if produce.amountCrystal}}
							<div class="col-md-3">
								<h5>晶振 </h5>
								<p>{{:produce.amountCrystal}}</p>
							</div>
						{{/if}}
					</div>
					{{/if}}
				{{if produce.amount0805 || produce.amount1210 || produce.amount1206 || produce.amount1812}}
					<div class="order-info-group">
						{{if produce.amount0805}}
							<div class="col-md-3">
								<h5>0805 </h5>
								<p>{{:produce.amount0805}}</p>
							</div>
						{{/if}}
						{{if produce.amount1210}}
							<div class="col-md-3">
								<h5>1210</h5>
								<p>{{:produce.amount1210}}</p>
							</div>
						{{/if}}
						{{if produce.amount1206}}
							<div class="col-md-3">
								<h5>1206 </h5>
								<p>{{:produce.amount1206}}</p>
							</div>
						{{/if}}
						{{if produce.amount1812}}
							<div class="col-md-3">
								<h5>1812</h5>
								<p>{{:produce.amount1812}}</p>
							</div>
						{{/if}}
					</div>
				{{/if}}
			</div>
		</div>
		<div class="order-info-group">
			<label class="col-md-3">电子料BOM</label>
			<div class="col-md-9">
				{{for files}} {{if type == 4}}
					<div class="order-info-group">
							<img src="images/order_list/{{:~mFileType(name)}}.png"><a class="order-link" id="{{:id}}" href="{{:path}}">{{:name}}</a>
					</div>
				{{/if}} {{/for}}
			</div>
		</div>
	{{/if}}
	<div class="order-info-group" style="padding-bottom: 0;border: none;">
		<label class="col-md-3">其他信息</label>
		<div class="col-md-9">
			<div class="order-info-group" style="padding-top: 0;">
				<div class="col-md-4">
					<h5>表面溅射</h5>
					<p>{{:~mSputtering(produce.sputtering)}}</p>
				</div>
				<div class="col-md-4">
					<h5>包装方式</h5>
					<p>{{:~mPackageWay(produce.packageWay)}}</p>
				</div>
				<div class="col-md-4">
					<h5>Mark打标方式</h5>
					<p>{{:~mMark(produce.mark)}}</p>
				</div>
			</div>
			<div class="order-info-group">
				<div class="col-md-4">
					<h5>测试方式</h5>
					<p>{{:~mTestWay(produce.testWay)}}</p>
				</div>
				<div class="col-md-4">
					<h5>Tset测试项目 (需要额外付费)</h5>
					<p>{{:~mTestType(produce.testType)}}</p>
				</div>
			</div>
		</div>
	</div>
	<div class="order-info-group">
		<label class="col-md-3">Mark效果图</label>
		<div class="col-md-9">
			{{for files}} {{if type == 3}}
            		<div class="order-info-group">
              			<img src="images/order_list/{{:~mFileType(name)}}.png"><a class="order-link" id="{{:id}}" href="{{:path}}">{{:name}}</a>
            		</div>
               {{/if}} {{/for}}
		</div>
	</div>				
  </div>
{{/if}}
<!------- 生产信息 start ----------------------->

<!------- 可靠性要求 start ---------------------->
{{if reliable != null}}
<div class="order-item order-kek">
	<h4 class="tit">可靠性要求</h4>
	<div class="order-info-group">
		<label class="col-md-3">MSL等级</label>
		<div class="col-md-9">
			<p>{{:~mMsl(reliable.msl)}}</p>
		</div>
	</div>
	<div class="order-info-group">
		<label class="col-md-3">冷热冲击(-65~150℃)循环次数</label>
		<div class="col-md-9">
			<p>{{:~mImpact(reliable.impact)}}</p>
		</div>
	</div>
	<div class="order-info-group">
		<label class="col-md-3">温度循环JESD22-A104</label>
		<div class="col-md-9">
			<p>{{:~mCycle(reliable.cycle)}}</p>
		</div>
	</div>
	<div class="order-info-group">
		<label class="col-md-3">高温储存-125度条件</label>
		<div class="col-md-9">
			<p>{{:~mStorage125(reliable.storage125)}}</p>
		</div>
	</div>
	<div class="order-info-group">
		<label class="col-md-3">高温储存-150度条件</label>
		<div class="col-md-9">
			<p>{{:~mStorage150(reliable.storage150)}}</p>
		</div>
	</div>
	<div class="order-info-group">
		<label class="col-md-3">仿真要求</label>
		<div class="col-md-9">
			<p>{{:~mEmulate(reliable.emulate)}}</p>
		</div>
	</div>
	<div class="order-info-group">
		<label class="col-md-3">其他测试</label>
		<div class="col-md-9">
			<p>{{:~mOtherTest(reliable.otherTest)}}</p>
		</div>
	</div>
  </div>
{{/if}}
<!------- 可靠性要求 start ---------------------->

<!------- 产品应用 start ------------------------>
{{if application != null}}
  <div class="order-item order-cpyy">
	<h4 class="tit">产品应用</h4>
	<div class="order-info-group" style="padding-bottom: 0;border: none;">
		{{if application.temperature || application.electric || application.vatage || application.power || 
			application.espBody || application.espLitter || application.espLitter }}
		<label class="col-md-3">产品应用</label>
		<div class="col-md-9">
			<div class="order-info-group" style="padding-top: 0;">
				{{if application.temperature}}
					<div class="col-md-3">
					  <h5>工作温度(℃)</h5>
					  <p>{{:~mTemperature(application.temperature)}}</p>
					</div>
				{{/if}}
				{{if application.electric}}
					<div class="col-md-3">
					  <h5>最大工作电流(mA)</h5>
					  <p>{{:application.electric}}</p>
					</div>
				{{/if}}
				{{if application.vatage}}
					<div class="col-md-3">
					  <h5>最大工作电压(V)</h5>
					  <p>{{:application.vatage}}</p>
					</div>
				{{/if}}
				{{if application.power}}
					<div class="col-md-3">
					  <h5>功耗要求(W Min)</h5>
					  <p>{{:application.power}}</p>
					</div>
				{{/if}}
              </div>
			  {{if application.espBody || application.espLitter}}
              <div class="order-info-group">
				{{if application.espBody}}
                <div class="col-md-3">
                  <h5>ESD要求-人体模型</h5>
                  <p>{{:~mEspBody(application.espBody)}}</p>
                </div>
				{{/if}}
				{{if application.espLitter}}
                <div class="col-md-3">
                  <h5>ESD要求-带电模型</h5>
                  <p>{{:~mEspLitter(application.espLitter)}}</p>
                </div>
                {{/if}}
              </div>
			  {{/if}}
		</div>
	</div>
	{{/if}}
	{{if application.function}}
		<div class="order-info-group" style="margin-top: 10px;">
			<label class="col-md-3">主要功能</label>
			<div class="col-md-9">
				<p>{{:application.function}}</p>
			</div>
		</div>
	{{/if}}
  </div>
{{/if}}
<!------- 产品应用 end ------------------------>
</script>

<script type="text/javascript">

    $('html,body').animate({scrollTop:0}, 800);//移动到最上面
	
	//联系人显示隐藏
	$('.det-contactBox').click(function(){
		var obj = $(".det-contact-main");
		if($('.det-contact-main').is(':hidden')){
			obj.show();
		}else{
			obj.hide();
		}
	});
</script>

